home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / lang / Python20.lha / Python-2.0 / Lib / Python2.0 / test / test_winsound.py < prev    next >
Encoding:
Text File  |  2000-10-26  |  203 b   |  8 lines

  1. # Ridiculously simple test of the winsound module for Windows.
  2.  
  3. import winsound
  4. for i in range(100, 2000, 100):
  5.     winsound.Beep(i, 75)
  6. print "Hopefully you heard some sounds increasing in frequency!"
  7.  
  8.